﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.ServiceModel;
using Tesla.Service.DataContracts;

namespace Tesla.Service.ServiceContracts
{
    internal static class Helper
    {
        public static IEnumerable<Type> GetKnownTypes(ICustomAttributeProvider provider)
        {
            List<System.Type> knownTypes = new List<System.Type>();
            knownTypes.Add(typeof(EmployeeDC));
            knownTypes.Add(typeof(ClientDC));
            knownTypes.Add(typeof(ClientParentDC));
            knownTypes.Add(typeof(OperatingUnitDC));
            knownTypes.Add(typeof(ProjectDC));
            knownTypes.Add(typeof(PhaseDC));
            knownTypes.Add(typeof(TaskDC));
            knownTypes.Add(typeof(TaskTypeDC));
            knownTypes.Add(typeof(TimeSheetDC));
            knownTypes.Add(typeof(TimesheetDaysDC));

            return knownTypes;
        }
    }
}
